<template>
  <el-carousel :interval="5000" arrow="always">
    <el-carousel-item v-for="item in runImg" :key="item.id">
      <img :src="item.imgUrl" alt="">
    </el-carousel-item>
  </el-carousel>
</template>

<style>
.el-carousel__container {
  position: relative;
  height: 380px !important;
}
.el-carousel__item img {
  width: 720px;
  height: 380px;
}

.el-carousel__item:nth-child(2n) {
  background-color: #99a9bf;
}

.el-carousel__item:nth-child(2n + 1) {
  background-color: #d3dce6;
}
</style>

<script>
export default {
  name: "RunHourse",
  data: function() {
    return {
      
      runImg: [
        {
          id: `001`,
          imgUrl:
            "//cms-bucket.ws.126.net/2019/11/12/bfd0169352cc4671a98b7b25dc3cfb79.png"
        },
        {
          id: `002`,
          imgUrl: `//cms-bucket.ws.126.net/2019/11/12/bfd0169352cc4671a98b7b25dc3cfb79.png`
        },
        {
          id: `003`,
          imgUrl: `//cms-bucket.ws.126.net/2019/11/12/bfd0169352cc4671a98b7b25dc3cfb79.png`
        }
      ]
    };
  }
};
</script>
